package sunsun.xiaoli.jiarebang.interfaces;

public interface ILiveInterface {
    /**
     * 查询频道列表
     *
     * @param page_size 频道数量
     */
    void queryLiveChannel(int page_size);

    /**
     * 根据分类id查询视频
     *
     * @param tag_id     标签id
     * @param page_index 页码
     */
    void queryVideoById(int searchType,String uid, String tag_id, int page_index);

    /**
     * 获取刷新推流地址
     *
     * @param stream_name 房间编号
     */
    void getRefreshPush(String stream_name);

    /**
     * 开始直播
     *
     * @param uid
     */
    void startLive(String uid, String nick);

    void stopLive(String uid, String roomId);//结束直播
    //获取在线观看人数

    void livingRoomOnlineUserList(String roomId);

    /**
     * 进入直播间
     *
     * @param uid    观众用户id
     * @param nick   观众用户昵称
     * @param roomId 进入的房间号
     */
    void enterLivingRoom(String uid, String nick, String roomId);

    /***
     * 退出直播间
     * @param uid 观众用户id
     * @param roomId 房间ID
     */
    void exitLivingRoom(String uid, String roomId);

    /**
     * 点赞
     *
     * @param uid
     * @param roomId
     */
    void userLike(String uid, String roomId);

    void getPushUrl(String stream_name);

    void getLiveRecordCate(String uid);

    void incViewTime(String uid, int minute);

    void getliveRecordPlayUrl(String vid);

    void liveRecordPlay(String login_uid, String vid);//播放回放 增加播放次数

    void getUserAttr(String uid, String roomId);//查询用户相关属性

    void forbidUser(String user_uid, String roomId, int minute);

    void resumeUser(String user_uid, String roomId);

    void getAnchorInfo(String uid);

    void liveRecordLike(String uid, String vid);

    void userAttrTaskInfo(String uid);

    void userAttrTaskDone(String uid, String taskType);

    void playbackCommentAdd(int parent_id, String record_id, String uid, String content);

    void playbackCommentQuery(String record_id, int pageIndex);

    void collectOrNo(int fav, String videoId, String uid);

    void getLiveBarrageHistory(String roomId);

    void sendChatMessageToServer(String login_nickname, String login_uid, String roomId, String content,String role);

    void shareStore(String uid);

    void By_Simple_roomInfo(String uid, String roomId);
}
